/*
 * Created on 21-ago-2004
 *
 */
package gurulab.merlin.core;

/**
 *
 * @author Cesar Obach-Renner, cesar AT gurulab.org
 * @version 1.0
 */
public class Direction {
    public final static Direction receiver=new Direction ("r");
    public final static Direction transmitter=new Direction ("t");
    public final static Direction transceiver=new Direction ("tr");    
    private String type;
    
    /**
     *
     * @param type
     * @author Cesar Obach-Renner, cesar AT gurulab.org
     */        
    private Direction (String type){
        this.type=type;
    }
    
    /**
     * @return String
     * @author Cesar Obach-Renner, cesar AT gurulab.org
     */            
    public String getType () {
        return type;
    }
    
    /**
     *
     * @param type
     * @author Cesar Obach-Renner, cesar AT gurulab.org
     */        
    public void setType (String type) {
        this.type = type;
    }
}
